<%--
  Created by IntelliJ IDEA.
  User: landeqing
  Date: 2018/1/9
  Time: 18:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Excle表格导出数据</title>
    <script type="text/javascript">
        function ecport() {
            window.location.href="/ecportAndecport/ecport";

        }
    </script>
</head>
<body>
<fieldset>
    <legend>数据导入</legend>
    <form action="/ecportAndecport/import" method="post" enctype="multipart/form-data">
        导入文件:<input type="file" name="fileName">
        <input type="submit" value="导入">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input type="button" value="导出数据" onclick="ecport()">

        <a href="/template/userEcport.xls" >下载模板</a>
        <a href="/template/word.doc" >下载模板</a>
    </form>
</fieldset>
</body>
</html>
